#ifndef __BSP_LED_H__
#define __BSP_LED_H__

#include "gpio.h"

typedef enum led
{
    LED_RED  = 0u,                 
    LED_YELLOW  = 1u,              
    LED_BLUE  = 2u,                 
    LED_GREEN  = 3u,                
}en_led_t; 


#define LEDR_PORT        GpioPortE
#define LEDR_PIN         GpioPin15

   ///< LED open
#define LED_RED_ON        Gpio_SetIO(LEDR_PORT, LEDR_PIN);
   ///< LED close
#define LED_RED_OFF       Gpio_ClrIO(LEDR_PORT, LEDR_PIN);


void BSP_Led_Init(void);

void BSP_led_blink(en_led_t LED);


#endif


